package com.zy.web.bean;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: shopping147_cloud
 * @description:
 * @author: zy
 * @create: 2025-08-01 16:04
 */
@Data
@NoArgsConstructor
public class OrdersDTO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id ;// '订单id',
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId ;// '用户id',
    @JsonSerialize(using = ToStringSerializer.class)
    private Long addressId ;//'收货地址id',
    private Integer  paymentType ;//'支付方式(1-支付宝 2-微信 3-银行卡)',

    private Integer orderStatus ; // '状态(0-订单取消 1-待支付 2-已支付待发货 3-已发货 4-已签收 5-订单完成 6-申请售后 7-退货退款)',
    private String remark ; // '备注'
}
